﻿
@{
    ViewBag.Title = "冻结/欠款账单";
    Layout = "~/Views/Shared/DetailsInfoLayout.cshtml";
}

@section CSS{
    <style>
        .content .row { font-family: '微软雅黑','Microsoft YaHei'; }
        .content .row .i_details_title { margin: 0 auto; text-align: center; padding: 30px; }
        .content .row .i_details_title .i_main { margin: 10px auto; border-bottom: #cdcdcd solid 1px; padding-bottom: 30px; }
        .content .row .i_details_title .i_main .red_txt { color: red; font-size: 30px; }
        .content .form-group span { color: #666; padding-left: 50px; display: block; float: left; width: 130px; }
    </style>
}
<section class="content">
    <div class="row">
        <div class="col-md-12 i_details_title">
            @(Model==null?"参数错误":(Model.type==1? "冻结资金" : "欠款金额"))
            <div class="i_main"><span class="red_txt">- @(Model == null ? "" : Model.money.ToString("F2")) </span> 元</div>
        </div>
        <div class="col-md-12">
            <div class="form-group">
                <span>当前状态：</span>
                <label>
                    @if (Model.type==1) {
                        @(Model.status == 1?"已冻结":"已解冻")
                    }
                    else {
                        @(Model.status == 1?"未还款":"已还款")
                    }
                    @*@(Model == null ? "" : (Model.status == 1 ? "待还款" : "已清算"))*@
                </label>
            </div>
            <div class="form-group">
                <span> @(Model == null ? "金额" : (Model.type == 1 ? "冻结资金" : "欠款金额"))：</span>
                <label>￥ @(Model == null ? "" : Model.money.ToString("F2")) 元</label>
            </div>
            <div class="form-group">
                <span> @(Model == null ? "" : (Model.type == 1 ? "冻结" : "欠款"))时间：</span>
                <label>@(Model == null ? "" : Model.add_time.ToString("yyyy-MM-dd HH:mm:ss")) </label>
            </div>
            <div class="form-group">
                <span>@(Model == null ? "" : (Model.type == 1 ? "冻结" : "欠款"))原因：</span>
                <label>用户退款 </label>
            </div>
            <div class="form-group">
                <span>结算流水：</span>
                <label>@(Model == null ? "" : Model.settlement_no) </label>
            </div>
            <div class="form-group">
                <span>流水编号：</span>
                <label>@(Model == null ? "" : Model.return_no) </label>
            </div>
        </div>
    </div>
</section>
@section JS{

    <script type="text/javascript">
        $(function () {

        })

    </script>
}

